package com.example.mqttclient.protocol;

public class BoolMessage extends BaseMessage {
    public boolean value;
    public String status; // 添加状态字段

    public BoolMessage(boolean value, String status) {
        this.value = value;
        this.status = status; // 设置状态
        this.type = Type.BOOL.index;
    }
}